.586
.model flat, c
.stack 4096

.data
    msg db "处理器信息：%s", 0
    buf db 256 dup(0)
.code
extern printf:near

main proc
    mov eax, 0
    cpuid
    mov dword ptr [buf], ebx
    mov dword ptr [buf + 4], edx
    mov dword ptr [buf + 8], ecx
    push offset buf
    push offset msg
    call printf

main endp
end main